package com.ruoyi.project.bas.productMap.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料对应关系对象 product_map
 * 
 * @author ruoyi
 * @date 2024-01-26
 */
public class ProductMap extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private String id;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String productId;

    /** 物品模糊码 */
    @Excel(name = "物品模糊码")
    private String productDetailId;

    /** 备用1 */
    @Excel(name = "备用1")
    private String by1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String by2;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setProductDetailId(String productDetailId) 
    {
        this.productDetailId = productDetailId;
    }

    public String getProductDetailId() 
    {
        return productDetailId;
    }
    public void setBy1(String by1) 
    {
        this.by1 = by1;
    }

    public String getBy1() 
    {
        return by1;
    }
    public void setBy2(String by2) 
    {
        this.by2 = by2;
    }

    public String getBy2() 
    {
        return by2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("productDetailId", getProductDetailId())
            .append("remark", getRemark())
            .append("by1", getBy1())
            .append("by2", getBy2())
            .toString();
    }
}
